package serviceImpl;

import dao.UserDAO;
import entity.User;
import serviceInterface.editUser;

/**
 * Create By Gn on 2021/6/9
 * 用途：将用户编辑得个人信息存储至数据库中
 **/
public class updateUserData implements editUser {
    @Override
    public int editUserData(User user) {
        int status = 0;
        status = UserDAO.update(user);
        return status;
    }
}
